package com.llh.uua.controller

import org.springframework.stereotype.Controller
import org.springframework.web.bind.annotation.GetMapping

/**
 *
 *
 * Created At 2021/3/14 14:24
 * @author llh
 */
@Controller
class PageController {

    @GetMapping(value = ["", "index"])
    fun indexPage(): String {
        return "index"
    }

    @GetMapping("login")
    fun loginPage(): String {
        return "login"
    }

    @GetMapping("admin")
    fun adminPage(): String {
        return "admin"
    }
}